package com.chixing.day20_annotation_jdk8.work;

public class Person {
    private int perId;
    private String perName;

    public Person(int perId, String perName) {
        this.perId = perId;
        this.perName = perName;
    }

    public int getPerId() {
        return perId;
    }

    public void setPerId(int perId) {
        this.perId = perId;
    }

    public String getPerName() {
        return perName;
    }

    public void setPerName(String perName) {
        this.perName = perName;
    }

    @Override
    public String toString() {
        return "Person{" +
                "perId=" + perId +
                ", perName='" + perName + '\'' +
                '}';
    }
}
